<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<ui:insert name="template_head"></ui:insert>
	<link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/template.css" />
	<script type="text/javascript" src="#{request.contextPath}/js/primefaces_date_fr.js"></script>
</h:head>

<h:body>
	<p:layout fullPage="true">
		<p:layoutUnit position="north">
			<ui:include src="/template/template_top.xhtml" />
		</p:layoutUnit>

		<p:layoutUnit position="west" styleClass="leftMenuLayoutStyleClass">
			<h:form>
				<p:slideMenu>
					<p:submenu label="Patients">
						<p:menuitem value="rechercher" action="#{dossPatiRechercher.startPage}" ajax="false" />
						<p:menuitem value="Modifier" actionListener="#" icon="ui-icon-arrowrefresh-1-w" />
					</p:submenu>
					<p:submenu label="Personnel">
						<p:menuitem value="Nouveau" actionListener="#" ajax="false" icon="ui-icon-close" />
						<p:menuitem value="Modifier" actionListener="#" ajax="false" icon="ui-icon-close" />
					</p:submenu>
					<p:submenu label="Planning">
						<p:menuitem value="Nouveau RDV" actionListener="#" ajax="false" icon="ui-icon-close" />
						<p:menuitem value="Modifier RDV" actionListener="#" ajax="false" icon="ui-icon-close" />
					</p:submenu>
					<p:submenu label="Ressources">
						<p:menuitem value="Salles" action="#{salleBn.startPage}" ajax="false" />
					</p:submenu>
					<p:submenu label="Fiche Patient">
						<p:menuitem value="Consulter" action="#{fichePatientBn.startPage}" ajax="false" />
					</p:submenu>
				</p:slideMenu>
			</h:form>
		</p:layoutUnit>

		<p:layoutUnit position="center">
			<p:layout>
				<p:layoutUnit position="north">
					<ui:insert name="template_toolbar"></ui:insert>
				</p:layoutUnit>
				<p:layoutUnit position="center">
					<ui:insert name="template_body"></ui:insert>
				</p:layoutUnit>
			</p:layout>
		</p:layoutUnit>
		<p:layoutUnit position="south" styleClass="footerLayoutStyleClass" >
        	<ui:include src="/template/template_bottom.xhtml" />
    	</p:layoutUnit>
	</p:layout>
</h:body>
</html>